{% extends "Themes/Itdashu/templates/pageSingle.twig" %}
{% block head %}
    <title>{{ title }}-{{ webConfig.name }}</title>
    <meta name="description"
          content="{% if description is defined %}{{ description }}{% else %}{{ webConfig.indexDescription }}{% endif %}">
    <meta name="keywords" content="{% if keywords is defined %}{{ keywords }}{% else %}{{ title }}{% endif %}">
    <meta name="apple-mobile-web-app-title" content="{{ title }}">
{% endblock %}
{% block body_class %} class="category search-page nav_fixed"{% endblock %}
{% block body %}
    <div class="container" id="main">
        <div class="content-wrap">
            <div class="search-content">
                {{ content() }}
                {{ view.r(data) }}
                <h2>热搜词</h2>
                <ul class="search-hot">
                    {% for item in hotSearch %}
                        <li><a href="{{ url(['for':'searchResult','id':item.getId(),'page':1]) }}">{{ item.word }}</a></li>
                    {% else %}
                        <li><a href="#">还没有搜索词！亲~赶快尝试一下吧</a> </li>
                    {% endfor %}
                </ul>
            </div>
        </div>
    </div>
{% endblock %}